package com.ych.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Product {
    private Integer id;
    private String productName;
    private String productCode;
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date manuDate;
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date productDate;
    private PipeModel pipeModel;
    private Item item;
    private Sensor sensor;
}
